package com.jyh.db.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class JyhOrderPaymentExample {
    /**
     * jyh_order_payment
     */
    protected String orderByClause;

    /**
     * jyh_order_payment
     */
    protected boolean distinct;

    /**
     * jyh_order_payment
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public JyhOrderPaymentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * jyh_order_payment 2017-10-17
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIDIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIDIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIDEqualTo(Integer value) {
            addCriterion("ID =", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDGreaterThan(Integer value) {
            addCriterion("ID >", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDLessThan(Integer value) {
            addCriterion("ID <", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDIn(List<Integer> values) {
            addCriterion("ID in", values, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "ID");
            return (Criteria) this;
        }

        public Criteria andIDBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "ID");
            return (Criteria) this;
        }

        public Criteria andOrderNOIsNull() {
            addCriterion("orderNO is null");
            return (Criteria) this;
        }

        public Criteria andOrderNOIsNotNull() {
            addCriterion("orderNO is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNOEqualTo(String value) {
            addCriterion("orderNO =", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNONotEqualTo(String value) {
            addCriterion("orderNO <>", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOGreaterThan(String value) {
            addCriterion("orderNO >", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOGreaterThanOrEqualTo(String value) {
            addCriterion("orderNO >=", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOLessThan(String value) {
            addCriterion("orderNO <", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOLessThanOrEqualTo(String value) {
            addCriterion("orderNO <=", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOLike(String value) {
            addCriterion("orderNO like", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNONotLike(String value) {
            addCriterion("orderNO not like", value, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOIn(List<String> values) {
            addCriterion("orderNO in", values, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNONotIn(List<String> values) {
            addCriterion("orderNO not in", values, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNOBetween(String value1, String value2) {
            addCriterion("orderNO between", value1, value2, "orderNO");
            return (Criteria) this;
        }

        public Criteria andOrderNONotBetween(String value1, String value2) {
            addCriterion("orderNO not between", value1, value2, "orderNO");
            return (Criteria) this;
        }

        public Criteria andPutTimeIsNull() {
            addCriterion("putTime is null");
            return (Criteria) this;
        }

        public Criteria andPutTimeIsNotNull() {
            addCriterion("putTime is not null");
            return (Criteria) this;
        }

        public Criteria andPutTimeEqualTo(Date value) {
            addCriterion("putTime =", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeNotEqualTo(Date value) {
            addCriterion("putTime <>", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeGreaterThan(Date value) {
            addCriterion("putTime >", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("putTime >=", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeLessThan(Date value) {
            addCriterion("putTime <", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeLessThanOrEqualTo(Date value) {
            addCriterion("putTime <=", value, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeIn(List<Date> values) {
            addCriterion("putTime in", values, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeNotIn(List<Date> values) {
            addCriterion("putTime not in", values, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeBetween(Date value1, Date value2) {
            addCriterion("putTime between", value1, value2, "putTime");
            return (Criteria) this;
        }

        public Criteria andPutTimeNotBetween(Date value1, Date value2) {
            addCriterion("putTime not between", value1, value2, "putTime");
            return (Criteria) this;
        }

        public Criteria andRepayNOIsNull() {
            addCriterion("repayNO is null");
            return (Criteria) this;
        }

        public Criteria andRepayNOIsNotNull() {
            addCriterion("repayNO is not null");
            return (Criteria) this;
        }

        public Criteria andRepayNOEqualTo(String value) {
            addCriterion("repayNO =", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNONotEqualTo(String value) {
            addCriterion("repayNO <>", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOGreaterThan(String value) {
            addCriterion("repayNO >", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOGreaterThanOrEqualTo(String value) {
            addCriterion("repayNO >=", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOLessThan(String value) {
            addCriterion("repayNO <", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOLessThanOrEqualTo(String value) {
            addCriterion("repayNO <=", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOLike(String value) {
            addCriterion("repayNO like", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNONotLike(String value) {
            addCriterion("repayNO not like", value, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOIn(List<String> values) {
            addCriterion("repayNO in", values, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNONotIn(List<String> values) {
            addCriterion("repayNO not in", values, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNOBetween(String value1, String value2) {
            addCriterion("repayNO between", value1, value2, "repayNO");
            return (Criteria) this;
        }

        public Criteria andRepayNONotBetween(String value1, String value2) {
            addCriterion("repayNO not between", value1, value2, "repayNO");
            return (Criteria) this;
        }

        public Criteria andPutMoneyIsNull() {
            addCriterion("putMoney is null");
            return (Criteria) this;
        }

        public Criteria andPutMoneyIsNotNull() {
            addCriterion("putMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPutMoneyEqualTo(BigDecimal value) {
            addCriterion("putMoney =", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyNotEqualTo(BigDecimal value) {
            addCriterion("putMoney <>", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyGreaterThan(BigDecimal value) {
            addCriterion("putMoney >", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("putMoney >=", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyLessThan(BigDecimal value) {
            addCriterion("putMoney <", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("putMoney <=", value, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyIn(List<BigDecimal> values) {
            addCriterion("putMoney in", values, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyNotIn(List<BigDecimal> values) {
            addCriterion("putMoney not in", values, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("putMoney between", value1, value2, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPutMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("putMoney not between", value1, value2, "putMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNull() {
            addCriterion("payMoney is null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNotNull() {
            addCriterion("payMoney is not null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyEqualTo(BigDecimal value) {
            addCriterion("payMoney =", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotEqualTo(BigDecimal value) {
            addCriterion("payMoney <>", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThan(BigDecimal value) {
            addCriterion("payMoney >", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney >=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThan(BigDecimal value) {
            addCriterion("payMoney <", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payMoney <=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIn(List<BigDecimal> values) {
            addCriterion("payMoney in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotIn(List<BigDecimal> values) {
            addCriterion("payMoney not in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payMoney not between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andIsRepayIsNull() {
            addCriterion("isRepay is null");
            return (Criteria) this;
        }

        public Criteria andIsRepayIsNotNull() {
            addCriterion("isRepay is not null");
            return (Criteria) this;
        }

        public Criteria andIsRepayEqualTo(Integer value) {
            addCriterion("isRepay =", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayNotEqualTo(Integer value) {
            addCriterion("isRepay <>", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayGreaterThan(Integer value) {
            addCriterion("isRepay >", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayGreaterThanOrEqualTo(Integer value) {
            addCriterion("isRepay >=", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayLessThan(Integer value) {
            addCriterion("isRepay <", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayLessThanOrEqualTo(Integer value) {
            addCriterion("isRepay <=", value, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayIn(List<Integer> values) {
            addCriterion("isRepay in", values, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayNotIn(List<Integer> values) {
            addCriterion("isRepay not in", values, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayBetween(Integer value1, Integer value2) {
            addCriterion("isRepay between", value1, value2, "isRepay");
            return (Criteria) this;
        }

        public Criteria andIsRepayNotBetween(Integer value1, Integer value2) {
            addCriterion("isRepay not between", value1, value2, "isRepay");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("payTime is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("payTime is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("payTime =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("payTime <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("payTime >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("payTime >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("payTime <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("payTime <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("payTime in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("payTime not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("payTime between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("payTime not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIsNull() {
            addCriterion("executeTime is null");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIsNotNull() {
            addCriterion("executeTime is not null");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeEqualTo(Date value) {
            addCriterion("executeTime =", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotEqualTo(Date value) {
            addCriterion("executeTime <>", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeGreaterThan(Date value) {
            addCriterion("executeTime >", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("executeTime >=", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeLessThan(Date value) {
            addCriterion("executeTime <", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeLessThanOrEqualTo(Date value) {
            addCriterion("executeTime <=", value, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeIn(List<Date> values) {
            addCriterion("executeTime in", values, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotIn(List<Date> values) {
            addCriterion("executeTime not in", values, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeBetween(Date value1, Date value2) {
            addCriterion("executeTime between", value1, value2, "executeTime");
            return (Criteria) this;
        }

        public Criteria andExecuteTimeNotBetween(Date value1, Date value2) {
            addCriterion("executeTime not between", value1, value2, "executeTime");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyIsNull() {
            addCriterion("repayMoney is null");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyIsNotNull() {
            addCriterion("repayMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyEqualTo(BigDecimal value) {
            addCriterion("repayMoney =", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyNotEqualTo(BigDecimal value) {
            addCriterion("repayMoney <>", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyGreaterThan(BigDecimal value) {
            addCriterion("repayMoney >", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("repayMoney >=", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyLessThan(BigDecimal value) {
            addCriterion("repayMoney <", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("repayMoney <=", value, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyIn(List<BigDecimal> values) {
            addCriterion("repayMoney in", values, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyNotIn(List<BigDecimal> values) {
            addCriterion("repayMoney not in", values, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("repayMoney between", value1, value2, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("repayMoney not between", value1, value2, "repayMoney");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOIsNull() {
            addCriterion("repayBankNO is null");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOIsNotNull() {
            addCriterion("repayBankNO is not null");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOEqualTo(String value) {
            addCriterion("repayBankNO =", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNONotEqualTo(String value) {
            addCriterion("repayBankNO <>", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOGreaterThan(String value) {
            addCriterion("repayBankNO >", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankNO >=", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOLessThan(String value) {
            addCriterion("repayBankNO <", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOLessThanOrEqualTo(String value) {
            addCriterion("repayBankNO <=", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOLike(String value) {
            addCriterion("repayBankNO like", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNONotLike(String value) {
            addCriterion("repayBankNO not like", value, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOIn(List<String> values) {
            addCriterion("repayBankNO in", values, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNONotIn(List<String> values) {
            addCriterion("repayBankNO not in", values, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNOBetween(String value1, String value2) {
            addCriterion("repayBankNO between", value1, value2, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNONotBetween(String value1, String value2) {
            addCriterion("repayBankNO not between", value1, value2, "repayBankNO");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameIsNull() {
            addCriterion("repayBankName is null");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameIsNotNull() {
            addCriterion("repayBankName is not null");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameEqualTo(String value) {
            addCriterion("repayBankName =", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameNotEqualTo(String value) {
            addCriterion("repayBankName <>", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameGreaterThan(String value) {
            addCriterion("repayBankName >", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankName >=", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameLessThan(String value) {
            addCriterion("repayBankName <", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameLessThanOrEqualTo(String value) {
            addCriterion("repayBankName <=", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameLike(String value) {
            addCriterion("repayBankName like", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameNotLike(String value) {
            addCriterion("repayBankName not like", value, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameIn(List<String> values) {
            addCriterion("repayBankName in", values, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameNotIn(List<String> values) {
            addCriterion("repayBankName not in", values, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameBetween(String value1, String value2) {
            addCriterion("repayBankName between", value1, value2, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankNameNotBetween(String value1, String value2) {
            addCriterion("repayBankName not between", value1, value2, "repayBankName");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardIsNull() {
            addCriterion("repayBankCard is null");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardIsNotNull() {
            addCriterion("repayBankCard is not null");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardEqualTo(String value) {
            addCriterion("repayBankCard =", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardNotEqualTo(String value) {
            addCriterion("repayBankCard <>", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardGreaterThan(String value) {
            addCriterion("repayBankCard >", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardGreaterThanOrEqualTo(String value) {
            addCriterion("repayBankCard >=", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardLessThan(String value) {
            addCriterion("repayBankCard <", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardLessThanOrEqualTo(String value) {
            addCriterion("repayBankCard <=", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardLike(String value) {
            addCriterion("repayBankCard like", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardNotLike(String value) {
            addCriterion("repayBankCard not like", value, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardIn(List<String> values) {
            addCriterion("repayBankCard in", values, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardNotIn(List<String> values) {
            addCriterion("repayBankCard not in", values, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardBetween(String value1, String value2) {
            addCriterion("repayBankCard between", value1, value2, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andRepayBankCardNotBetween(String value1, String value2) {
            addCriterion("repayBankCard not between", value1, value2, "repayBankCard");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIsNull() {
            addCriterion("isOverdue is null");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIsNotNull() {
            addCriterion("isOverdue is not null");
            return (Criteria) this;
        }

        public Criteria andIsOverdueEqualTo(Integer value) {
            addCriterion("isOverdue =", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotEqualTo(Integer value) {
            addCriterion("isOverdue <>", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueGreaterThan(Integer value) {
            addCriterion("isOverdue >", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueGreaterThanOrEqualTo(Integer value) {
            addCriterion("isOverdue >=", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueLessThan(Integer value) {
            addCriterion("isOverdue <", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueLessThanOrEqualTo(Integer value) {
            addCriterion("isOverdue <=", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIn(List<Integer> values) {
            addCriterion("isOverdue in", values, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotIn(List<Integer> values) {
            addCriterion("isOverdue not in", values, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueBetween(Integer value1, Integer value2) {
            addCriterion("isOverdue between", value1, value2, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotBetween(Integer value1, Integer value2) {
            addCriterion("isOverdue not between", value1, value2, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyIsNull() {
            addCriterion("overdueRateMoney is null");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyIsNotNull() {
            addCriterion("overdueRateMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney =", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyNotEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney <>", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyGreaterThan(BigDecimal value) {
            addCriterion("overdueRateMoney >", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney >=", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyLessThan(BigDecimal value) {
            addCriterion("overdueRateMoney <", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueRateMoney <=", value, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyIn(List<BigDecimal> values) {
            addCriterion("overdueRateMoney in", values, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyNotIn(List<BigDecimal> values) {
            addCriterion("overdueRateMoney not in", values, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueRateMoney between", value1, value2, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueRateMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueRateMoney not between", value1, value2, "overdueRateMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyIsNull() {
            addCriterion("overdueSumMoney is null");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyIsNotNull() {
            addCriterion("overdueSumMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney =", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyNotEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney <>", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyGreaterThan(BigDecimal value) {
            addCriterion("overdueSumMoney >", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney >=", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyLessThan(BigDecimal value) {
            addCriterion("overdueSumMoney <", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overdueSumMoney <=", value, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyIn(List<BigDecimal> values) {
            addCriterion("overdueSumMoney in", values, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyNotIn(List<BigDecimal> values) {
            addCriterion("overdueSumMoney not in", values, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueSumMoney between", value1, value2, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andOverdueSumMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdueSumMoney not between", value1, value2, "overdueSumMoney");
            return (Criteria) this;
        }

        public Criteria andIsUseRedIsNull() {
            addCriterion("isUseRed is null");
            return (Criteria) this;
        }

        public Criteria andIsUseRedIsNotNull() {
            addCriterion("isUseRed is not null");
            return (Criteria) this;
        }

        public Criteria andIsUseRedEqualTo(Integer value) {
            addCriterion("isUseRed =", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedNotEqualTo(Integer value) {
            addCriterion("isUseRed <>", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedGreaterThan(Integer value) {
            addCriterion("isUseRed >", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedGreaterThanOrEqualTo(Integer value) {
            addCriterion("isUseRed >=", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedLessThan(Integer value) {
            addCriterion("isUseRed <", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedLessThanOrEqualTo(Integer value) {
            addCriterion("isUseRed <=", value, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedIn(List<Integer> values) {
            addCriterion("isUseRed in", values, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedNotIn(List<Integer> values) {
            addCriterion("isUseRed not in", values, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedBetween(Integer value1, Integer value2) {
            addCriterion("isUseRed between", value1, value2, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andIsUseRedNotBetween(Integer value1, Integer value2) {
            addCriterion("isUseRed not between", value1, value2, "isUseRed");
            return (Criteria) this;
        }

        public Criteria andRedNOIsNull() {
            addCriterion("redNO is null");
            return (Criteria) this;
        }

        public Criteria andRedNOIsNotNull() {
            addCriterion("redNO is not null");
            return (Criteria) this;
        }

        public Criteria andRedNOEqualTo(String value) {
            addCriterion("redNO =", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNONotEqualTo(String value) {
            addCriterion("redNO <>", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOGreaterThan(String value) {
            addCriterion("redNO >", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOGreaterThanOrEqualTo(String value) {
            addCriterion("redNO >=", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOLessThan(String value) {
            addCriterion("redNO <", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOLessThanOrEqualTo(String value) {
            addCriterion("redNO <=", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOLike(String value) {
            addCriterion("redNO like", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNONotLike(String value) {
            addCriterion("redNO not like", value, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOIn(List<String> values) {
            addCriterion("redNO in", values, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNONotIn(List<String> values) {
            addCriterion("redNO not in", values, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNOBetween(String value1, String value2) {
            addCriterion("redNO between", value1, value2, "redNO");
            return (Criteria) this;
        }

        public Criteria andRedNONotBetween(String value1, String value2) {
            addCriterion("redNO not between", value1, value2, "redNO");
            return (Criteria) this;
        }
    }

    /**
     * jyh_order_payment
     *
     * @mbggenerated do_not_delete_during_merge 2017-10-17
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * jyh_order_payment 2017-10-17
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}